import request from '@/utils/request'

export function getList(params) {
  return request({
    url:'/pmsGroupConfig/paginQuery',
    method:'get',
    params:params
  })
}

export function del(params) {
  return request({
    url:'/pmsGroupConfig/deleteById',
    method:'get',
    params:params
  })
}

export function detail(params) {
  return request({
    url:'/pmsGroupConfig/queryById',
    method:'get',
    params:params
  })
}


export function add(data) {
  return request({
    url:'/pmsGroupConfig/add',
    method:'post',
    data:data
  })
}
export function update(data) {
  return request({
    url:'/pmsGroupConfig/edit',
    method:'post',
    data:data
  })
}

